// © 2009 Microsoft Corporation.  All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microsoft.InformationSecurity.ISRM.TaskManagment.NotificationsService
{
    internal interface INotificationProcessor
    {
        /// <summary>
        /// Provides custom validation to notifications engine.
        /// </summary>
        /// <param name="notificationDetails"></param>
        /// <returns></returns>
        bool Validate(Notification notificationDetails);

        /// <summary>
        /// Sends the notification.
        /// </summary>
        /// <param name="notificationDetails">Details of the notification such as recipient, subject and body.</param>
        void Send(Notification notificationDetails);
    }
}
